<template>
	<view class="container">
	</view>
</template>

<script>
	import {
		ShareCode
	} from "@/api/login.js"
	export default {
		data() {
			return {};
		},
		onLoad(option) {
			ShareCode(option.scene).then((res) => {
				console.log(res)
				uni.redirectTo({
					url: res.data.result
				})
			})
		}
	};
</script>

<style lang="scss" scoped>

</style>
